#input-text {
  height: 50vh;
  width: 80vw;
  min-width: 80vw;
  text-align: left !important;
}
.CodeMirror {
  height: 55vh !important;
}

.CodeMirror.cm-s-default.CodeMirror-wrap {
  font-family: 'Open Sans', sans-serif;
}

#summary_text, #chat_text {
  margin: 10px;
  font-weight: 700;
}

#get_chat, #get_summary{
 height: calc(3.5rem + calc(var(--bs-border-width) * 2));
 width: 110px;
 margin-right: 20px;
}

table {
  table-layout: auto;
  margin: 0 auto;
}
th,
td {
  word-wrap: break-word;
  max-width: 50%;
  text-align: center;
}

.table-bordered {
  border: none;
}

#output-table > tbody > tr:nth-of-type(odd) {
  background-color: #f9f9f9;
}

.table .table {
  background-color: transparent;
}

.highlight-first {
  background-color: rgb(0, 255, 81);
}

.highlight-second {
  background-color: rgb(135, 255, 153);
}

.highlight-third {
  background-color: rgb(190, 253, 190);
}

.highlight-select {
  background-color: orange;
}

#loading {
  display: inline-block;
  width: 1rem;
  height: 1rem;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #fff;
  animation: spin 1s ease-in-out infinite;
  -webkit-animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
  to {
    -webkit-transform: rotate(360deg);
  }
}
@-webkit-keyframes spin {
  to {
    -webkit-transform: rotate(360deg);
  }
}

#progressBar {
  height: 25px;
  width: 100%;
}

#query-text {
  height: 75%;
  min-width: 80%;
}


.submit-button {
  height: 75%;
  white-space:normal;
  text-align: center; /* this seems to break when page size is too small */
}


#formGroupCenter {
  width: 100%;
}

.CodeMirror {
  font-size: 15px;
}

#results {
  height: 70vh;
  overflow-y: auto;
}

.card {
  width: 100%;
  transition: background-color 0.3s ease;
}

.card:hover {
  background-color: #f8f9fa;
}

/*.nav-button {*/
/*  width: 60px; !* adjust this to the size you want *!*/
/*  margin-right: 1px; !* adds space between buttons *!*/
/*}*/

#submitGroup {
  margin-top: 2vh; /* adjust this value as needed */
}

/*
  see: https://github.com/twbs/bootstrap/issues/33871
 */
.form-floating > label { z-index: 3; }

#advancedFeaturesHeader .accordion-button:hover {
  text-decoration: underline;
}

.accordion-button::after {
  display: none;
}

.card-title {
  font-size: 0.9em;
}
.card-subtitle {
  font-size: 0.8em;
}

#SemanticFinderLogo{
  display: block;
  margin: 0 auto;
  max-width: 250px;
}

@media (min-width: 992px) {
  #introContainer {
    display: inline-flex;
  }
  #introContentDiv{
    padding-left: 20px;
  }
}

@media (max-width: 992px) {
  .col-sm-9  {
    width: 100% !important;
  }
  #results{
    height: unset !important;
  }
  .col-sm-3  {
    width: 100% !important;
  }
  ul {
    padding-left: 0 !important;
  }
}

.toast {
  display: none;
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  background-color: white !important;
  color: #fff;
  padding: 10px 20px;
  border-radius: 5px;
  z-index: 1000;
  width: 250px !important;
  font-size: 20px !important;
}


#closeToastButton{
  cursor: pointer;
  right: -47px;
  position: relative;
}